<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <!--ios是否允许创建快捷方式-->
    <meta content="yes" name="apple-mobile-web-app-capable">
    <!--ios顶部通知栏的样式：黑色-->
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <!--遇到数字不让转换成电话号码的格式-->
    <meta content="telephone=no" name="format-detection">
    <meta name="description" content="乐淘是中国最大的正品运动鞋，皮鞋专卖" >
    <meta name="Keywords" content="乐淘 乐淘鞋城 买鞋子 上乐淘 运动鞋城" >
    <link type="image/x-icon" rel="shortcut icon" href="images/favicon.ico">
    <link rel="stylesheet" href="assets/mui/css/mui.css">
    <link rel="stylesheet" href="assets/fa/css/font-awesome.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/search.css">
    <title>乐淘-搜索</title>
</head>
<body>
<!--首页-->
<!--通栏-->
<div class="ct_container">
    <header class="ct_header">
        <!--history.back():回到刚才的那个页面-->
        <a href="javascript:history.back();" class="left"><span class="fa fa-arrow-left"></span></a>
        <h3>搜索中心</h3>
    </header>
    <div class="ct_content">
        <div class="ct_wrapper">
            <!--搜索区域-->
            <div class="ct_search">
                <!--使用form的作用：在调用虚拟键盘时enter键变成搜索按钮-->
                <form action="#">
                    <input type="search" placeholder="搜索你喜欢的商品">
                </form>
                <!--阻止页面跳转，这个地方阻止了可以用location定位到指定的页面-->
                <a href="javascript:;" class="search">搜索</a>
            </div>
            <!--历史区域-->
            <div class="ct_history">
                <ul class="mui-table-view"></ul>
            </div>
        </div>
    </div>
    <footer class="ct_footer">
        <a class="tab_home fa fa-home" href="index.html"><span>首页</span></a>
        <a class="tab_cate fa fa-bars now" href="category.html"><span>分类</span></a>
        <a class="tab_cart fa fa-shopping-cart" href="user/cart.html"><span>购物车</span></a>
        <a class="tab_user fa fa-user" href="user/user.html"><span>会员中心</span></a>
    </footer>
</div>


<script type="text/template" id="history">
    <li class="mui-table-view-cell">
        <a href="javascript:;" class="history mui-left">搜索历史</a>
        <a href="javascript:;" class="mui-right clear">清空搜索历史</a>
    </li>
    <% for(var i = 0; i < arr.length; i ++) { %>
        <li class="mui-table-view-cell"><%=arr[i]%></li>
    <% } %>

</script>
<script src="assets/mui/js/mui.js"></script>
<script src="assets/jquery/jquery-1.12.4.js"></script>
<!--<script src="assets/zepto/zepto.min.js"></script>-->
<script src="js/search.js"></script>
<script src="assets/artTemplate/template-native.js"></script>
<!--<script src="js/common.js"></script>-->
</body>
</html>